Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker configuration for production, development and testing #23

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from

Conversation

duvholt
Copy link
Member

@duvholt duvholt commented Apr 9, 2018

docker-compose services for development, production, and testing.
Dockerfiles are based on Alpine Linux.

Fixes #5

@TheSimoms
Copy link

If developers are supposed to make use of the new setup, the changes should be reflected in the README.

Dockerfile.base Outdated

ENV APP_DIR=/srv/app

RUN mkdir -p $APP_DIR

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En liten kommentar. Blir ikkje dette automatisk gjort når du setter $APP_DIR til å vere WORKDIR?

Dockerfile.prod Outdated
@@ -0,0 +1,3 @@
FROM kapina_base:latest

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meir eit spørsmål, men er ikkje det meir anbefalt å bruke Docker sin multi-stage build, for å få til fleire nivå? Usikker korleis dette fungerer rundt docker-compose, men det ser ut til at ein skal kunne referere til target i docker-compose v3.4. Ref. docker/compose#5191 og docker/cli#430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Creating a dockerfile
3 participants